package com.yy.studyspringboot.designMode.抽象工厂;

public class TestFactory {

    public static void main(String[] args) {
        FactoryA factorya = new FactoryAA();
        FactoryA factoryb = new FactoryAB();

        factorya.modeMethod();
        factoryb.modeMethod();
    }
}
